package com.ruoyi.season.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.appuser.domain.vo.AppuserTaskVo;
import com.ruoyi.season.domain.PlaySeasonCommonTask;

/**
 * 赛季日常任务Service接口
 *
 * @author ruoyi
 * @date 2024-01-14
 */
public interface IPlaySeasonCommonTaskService extends IService<PlaySeasonCommonTask>
{
    /**
     * 查询赛季日常任务
     *
     * @param id 赛季日常任务主键
     * @return 赛季日常任务
     */
    public PlaySeasonCommonTask selectPlaySeasonCommonTaskById(String id);

    /**
     * 查询赛季日常任务列表
     *
     * @param playSeasonCommonTask 赛季日常任务
     * @return 赛季日常任务集合
     */
    public List<PlaySeasonCommonTask> selectPlaySeasonCommonTaskList(PlaySeasonCommonTask playSeasonCommonTask);

    /**
     * 新增赛季日常任务
     *
     * @param playSeasonCommonTask 赛季日常任务
     * @return 结果
     */
    public int insertPlaySeasonCommonTask(PlaySeasonCommonTask playSeasonCommonTask);

    /**
     * 修改赛季日常任务
     *
     * @param playSeasonCommonTask 赛季日常任务
     * @return 结果
     */
    public int updatePlaySeasonCommonTask(PlaySeasonCommonTask playSeasonCommonTask);

    /**
     * 批量删除赛季日常任务
     *
     * @param ids 需要删除的赛季日常任务主键集合
     * @return 结果
     */
    public int deletePlaySeasonCommonTaskByIds(String[] ids);

    /**
     * 删除赛季日常任务信息
     *
     * @param id 赛季日常任务主键
     * @return 结果
     */
    public int deletePlaySeasonCommonTaskById(String id);

    List<AppuserTaskVo> selectPlaySeasonTask(String playSeasonId);

}
